<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <title>JSDoc: Source: Alive.js</title>

    <script src="scripts/prettify/prettify.js"> </script>
    <script src="scripts/prettify/lang-css.js"> </script>
    <script src="scripts/jquery.1.10.min.js"> </script>
    <!--[if lt IE 9]>
      <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <link type="text/css" rel="stylesheet" href="styles/bootstrap.css">
    <link type="text/css" rel="stylesheet" href="styles/bootstrap-responsive.css">
    <link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
    <!-- <link type="text/css" rel="stylesheet" href="styles/styles.css"> -->
</head>

<body data-target="#docs-sidebar" data-spy="scroll" data-offset="65">

<div id="main" class="container-fluid">

    <nav class="navbar navbar-fixed-top">
        <div class="navbar-inner">
            <a class="brand" href="index.html">Home</a>
<ul class="nav">
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Classes<b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="Alive.html">Alive</a></li><li><a href="Apple.html">Apple</a></li><li><a href="Energy.html">Energy</a></li><li><a href="Environment.html">Environment</a></li><li><a href="Tree.html">Tree</a></li>
</ul>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Events<b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="Apple.html#event:beEaten">Apple.beEaten</a></li>
<li><a href="Environment.html#event:beforeDestroy">Environment.beforeDestroy</a></li>
</ul>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Globals<b class="caret"></b></a>
<ul class="dropdown-menu">
</ul>
</li>
</ul>
        </div>
    </nav>

    <div class="row-fluid">
        <nav id="docs-sidebar" class="span3">
            

            <ul class="nav nav-list affix">
                

                

                
                    <li class="nav-header">Events &times; 2</li>

                    
                        

<li class="">
    
        <a class="" href="#event:beEaten">beEaten</a>
    
</li>

                    
                        

<li class="">
    
        <a class="" href="#event:beforeDestroy">beforeDestroy</a>
    
</li>

                    
                

                
            </ul>
        </nav>

        <section id="docs-content" class="span9">
            <h1 class="page-title">Source: Alive.js</h1>

            


    
    <section>
        <article>
            <pre class="prettyprint source"><code>/**
 * Donec imperdiet dignissim semper. Sed vehicula purus dui, eget porta lectus convallis sagittis. Suspendisse ac lectus dignissim, tincidunt nisi quis, gravida metus.
 * @class 
 */
class Alive {
    constructor(){
        /**
         * amount of energy
         * @property {Energy} the 
         */
        this.energy = null;
    }
    /**
     * @param {Environment} environment the environment when this Alive thing is surviving
     * @return {Energy} the energy wasted in this surviving instance
     * @method 
     */
	survive() {
        return null
	}
}
</code></pre>
        </article>
    </section>





        </section>
    </div>

    <footer class="row-fluid">
        <p class="span9 offset3">
            Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon Oct 30 2017 20:40:41 GMT-0300 (-03)
        </p>
    </footer>
</div>


<script> prettyPrint(); </script>
<script src="scripts/linenumber.js"> </script>
<script src="scripts/bootstrap.min.js"> </script>
<script src="scripts/script.js"> </script>

</body>
</html>
